package com.liu.lsm.utils;

import com.liu.lsm.sys.shiro.AccountProfile;
import org.apache.shiro.SecurityUtils;

public class shiroUtil {
    public static AccountProfile getProfile() {
        return (AccountProfile) SecurityUtils.getSubject().getPrincipal();
    }
}
